export default {
  state: {
    selectedNodeContent: '',
    setSelectedNode: {},
    userModel: {},
    selectedTitle: ''
  },
  mutations: {
    setSelectedNodeContent (state, selectedNodeContent) {
      state.selectedNodeContent = selectedNodeContent;
    },
    setSelectedTitle (state, selectedTitle) {
      state.selectedTitle = selectedTitle;
    },
    setSelectedNode (state, selectedNode) {
      state.selectedNode = selectedNode;
    },
    setUserModel (state, userModel) {
      state.userModel = userModel;
    }
  }
}
